using System;
using System.Collections.Generic;
using System.Reflection;
using System.Runtime.InteropServices;

using ILRuntime.CLR.TypeSystem;
using ILRuntime.CLR.Method;
using ILRuntime.Runtime.Enviorment;
using ILRuntime.Runtime.Intepreter;
using ILRuntime.Runtime.Stack;
using ILRuntime.Reflection;
using ILRuntime.CLR.Utils;
using System.Linq;

namespace ILRuntime.Runtime.Generated
{
    unsafe class huqiang_UIComposite_DockPanelLine_Binding
    {
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            MethodBase method;
            FieldInfo field;
            Type[] args;
            Type type = typeof(huqiang.UIComposite.DockPanelLine);
            args = new Type[]{};
            method = type.GetMethod("get_direction", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_direction_0);
            args = new Type[]{};
            method = type.GetMethod("get_realLine", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_realLine_1);
            args = new Type[]{typeof(UnityEngine.Vector3), typeof(UnityEngine.Vector2)};
            method = type.GetMethod("SetSize", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, SetSize_2);
            args = new Type[]{};
            method = type.GetMethod("SizeChanged", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, SizeChanged_3);
            args = new Type[]{typeof(huqiang.UIComposite.DockPanelLine)};
            method = type.GetMethod("SetLineStart", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, SetLineStart_4);
            args = new Type[]{typeof(huqiang.UIComposite.DockPanelLine)};
            method = type.GetMethod("SetLineEnd", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, SetLineEnd_5);
            args = new Type[]{};
            method = type.GetMethod("Dispose", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Dispose_6);
            args = new Type[]{typeof(huqiang.UIComposite.DockPanelLine)};
            method = type.GetMethod("MergeLeft", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, MergeLeft_7);
            args = new Type[]{typeof(huqiang.UIComposite.DockPanelLine)};
            method = type.GetMethod("MergeRight", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, MergeRight_8);
            args = new Type[]{typeof(huqiang.UIComposite.DockPanelLine)};
            method = type.GetMethod("MergeTop", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, MergeTop_9);
            args = new Type[]{typeof(huqiang.UIComposite.DockPanelLine)};
            method = type.GetMethod("MergeDown", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, MergeDown_10);
            args = new Type[]{typeof(huqiang.Data.FakeStructArray), typeof(System.Int32)};
            method = type.GetMethod("SaveToDataBuffer", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, SaveToDataBuffer_11);
            args = new Type[]{typeof(huqiang.Data.FakeStructArray), typeof(System.Int32)};
            method = type.GetMethod("LoadFromBuffer", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, LoadFromBuffer_12);

            field = type.GetField("CursorX", flag);
            app.RegisterCLRFieldGetter(field, get_CursorX_0);
            app.RegisterCLRFieldSetter(field, set_CursorX_0);
            app.RegisterCLRFieldBinding(field, CopyToStack_CursorX_0, AssignFromStack_CursorX_0);
            field = type.GetField("CursorY", flag);
            app.RegisterCLRFieldGetter(field, get_CursorY_1);
            app.RegisterCLRFieldSetter(field, set_CursorY_1);
            app.RegisterCLRFieldBinding(field, CopyToStack_CursorY_1, AssignFromStack_CursorY_1);
            field = type.GetField("layout", flag);
            app.RegisterCLRFieldGetter(field, get_layout_2);
            app.RegisterCLRFieldSetter(field, set_layout_2);
            app.RegisterCLRFieldBinding(field, CopyToStack_layout_2, AssignFromStack_layout_2);
            field = type.GetField("Enity", flag);
            app.RegisterCLRFieldGetter(field, get_Enity_3);
            app.RegisterCLRFieldSetter(field, set_Enity_3);
            app.RegisterCLRFieldBinding(field, CopyToStack_Enity_3, AssignFromStack_Enity_3);
            field = type.GetField("Left", flag);
            app.RegisterCLRFieldGetter(field, get_Left_4);
            app.RegisterCLRFieldSetter(field, set_Left_4);
            app.RegisterCLRFieldBinding(field, CopyToStack_Left_4, AssignFromStack_Left_4);
            field = type.GetField("Right", flag);
            app.RegisterCLRFieldGetter(field, get_Right_5);
            app.RegisterCLRFieldSetter(field, set_Right_5);
            app.RegisterCLRFieldBinding(field, CopyToStack_Right_5, AssignFromStack_Right_5);
            field = type.GetField("Top", flag);
            app.RegisterCLRFieldGetter(field, get_Top_6);
            app.RegisterCLRFieldSetter(field, set_Top_6);
            app.RegisterCLRFieldBinding(field, CopyToStack_Top_6, AssignFromStack_Top_6);
            field = type.GetField("Down", flag);
            app.RegisterCLRFieldGetter(field, get_Down_7);
            app.RegisterCLRFieldSetter(field, set_Down_7);
            app.RegisterCLRFieldBinding(field, CopyToStack_Down_7, AssignFromStack_Down_7);


            app.RegisterCLRCreateArrayInstance(type, s => new huqiang.UIComposite.DockPanelLine[s]);

            args = new Type[]{typeof(huqiang.UIComposite.DockPanel), typeof(huqiang.Core.HGUI.UIElement), typeof(huqiang.UIComposite.Direction), typeof(System.Boolean)};
            method = type.GetConstructor(flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Ctor_0);

        }


        static StackObject* get_direction_0(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.UIComposite.DockPanelLine instance_of_this_method = (huqiang.UIComposite.DockPanelLine)typeof(huqiang.UIComposite.DockPanelLine).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            var result_of_this_method = instance_of_this_method.direction;

            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static StackObject* get_realLine_1(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.UIComposite.DockPanelLine instance_of_this_method = (huqiang.UIComposite.DockPanelLine)typeof(huqiang.UIComposite.DockPanelLine).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            var result_of_this_method = instance_of_this_method.realLine;

            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method ? 1 : 0;
            return __ret + 1;
        }

        static StackObject* SetSize_2(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 3);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            UnityEngine.Vector2 @size = (UnityEngine.Vector2)typeof(UnityEngine.Vector2).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)16);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            UnityEngine.Vector3 @pos = (UnityEngine.Vector3)typeof(UnityEngine.Vector3).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)16);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
            huqiang.UIComposite.DockPanelLine instance_of_this_method = (huqiang.UIComposite.DockPanelLine)typeof(huqiang.UIComposite.DockPanelLine).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.SetSize(@pos, @size);

            return __ret;
        }

        static StackObject* SizeChanged_3(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.UIComposite.DockPanelLine instance_of_this_method = (huqiang.UIComposite.DockPanelLine)typeof(huqiang.UIComposite.DockPanelLine).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.SizeChanged();

            return __ret;
        }

        static StackObject* SetLineStart_4(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.UIComposite.DockPanelLine @line = (huqiang.UIComposite.DockPanelLine)typeof(huqiang.UIComposite.DockPanelLine).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.UIComposite.DockPanelLine instance_of_this_method = (huqiang.UIComposite.DockPanelLine)typeof(huqiang.UIComposite.DockPanelLine).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.SetLineStart(@line);

            return __ret;
        }

        static StackObject* SetLineEnd_5(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.UIComposite.DockPanelLine @line = (huqiang.UIComposite.DockPanelLine)typeof(huqiang.UIComposite.DockPanelLine).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.UIComposite.DockPanelLine instance_of_this_method = (huqiang.UIComposite.DockPanelLine)typeof(huqiang.UIComposite.DockPanelLine).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.SetLineEnd(@line);

            return __ret;
        }

        static StackObject* Dispose_6(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.UIComposite.DockPanelLine instance_of_this_method = (huqiang.UIComposite.DockPanelLine)typeof(huqiang.UIComposite.DockPanelLine).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.Dispose();

            return __ret;
        }

        static StackObject* MergeLeft_7(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.UIComposite.DockPanelLine @line = (huqiang.UIComposite.DockPanelLine)typeof(huqiang.UIComposite.DockPanelLine).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.UIComposite.DockPanelLine instance_of_this_method = (huqiang.UIComposite.DockPanelLine)typeof(huqiang.UIComposite.DockPanelLine).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.MergeLeft(@line);

            return __ret;
        }

        static StackObject* MergeRight_8(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.UIComposite.DockPanelLine @line = (huqiang.UIComposite.DockPanelLine)typeof(huqiang.UIComposite.DockPanelLine).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.UIComposite.DockPanelLine instance_of_this_method = (huqiang.UIComposite.DockPanelLine)typeof(huqiang.UIComposite.DockPanelLine).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.MergeRight(@line);

            return __ret;
        }

        static StackObject* MergeTop_9(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.UIComposite.DockPanelLine @line = (huqiang.UIComposite.DockPanelLine)typeof(huqiang.UIComposite.DockPanelLine).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.UIComposite.DockPanelLine instance_of_this_method = (huqiang.UIComposite.DockPanelLine)typeof(huqiang.UIComposite.DockPanelLine).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.MergeTop(@line);

            return __ret;
        }

        static StackObject* MergeDown_10(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.UIComposite.DockPanelLine @line = (huqiang.UIComposite.DockPanelLine)typeof(huqiang.UIComposite.DockPanelLine).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.UIComposite.DockPanelLine instance_of_this_method = (huqiang.UIComposite.DockPanelLine)typeof(huqiang.UIComposite.DockPanelLine).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.MergeDown(@line);

            return __ret;
        }

        static StackObject* SaveToDataBuffer_11(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 3);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Int32 @index = ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.Data.FakeStructArray @fake = (huqiang.Data.FakeStructArray)typeof(huqiang.Data.FakeStructArray).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
            huqiang.UIComposite.DockPanelLine instance_of_this_method = (huqiang.UIComposite.DockPanelLine)typeof(huqiang.UIComposite.DockPanelLine).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.SaveToDataBuffer(@fake, @index);

            return __ret;
        }

        static StackObject* LoadFromBuffer_12(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 3);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Int32 @index = ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.Data.FakeStructArray @fake = (huqiang.Data.FakeStructArray)typeof(huqiang.Data.FakeStructArray).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
            huqiang.UIComposite.DockPanelLine instance_of_this_method = (huqiang.UIComposite.DockPanelLine)typeof(huqiang.UIComposite.DockPanelLine).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.LoadFromBuffer(@fake, @index);

            return __ret;
        }


        static object get_CursorX_0(ref object o)
        {
            return huqiang.UIComposite.DockPanelLine.CursorX;
        }

        static StackObject* CopyToStack_CursorX_0(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = huqiang.UIComposite.DockPanelLine.CursorX;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_CursorX_0(ref object o, object v)
        {
            huqiang.UIComposite.DockPanelLine.CursorX = (UnityEngine.Texture2D)v;
        }

        static StackObject* AssignFromStack_CursorX_0(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            UnityEngine.Texture2D @CursorX = (UnityEngine.Texture2D)typeof(UnityEngine.Texture2D).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            huqiang.UIComposite.DockPanelLine.CursorX = @CursorX;
            return ptr_of_this_method;
        }

        static object get_CursorY_1(ref object o)
        {
            return huqiang.UIComposite.DockPanelLine.CursorY;
        }

        static StackObject* CopyToStack_CursorY_1(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = huqiang.UIComposite.DockPanelLine.CursorY;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_CursorY_1(ref object o, object v)
        {
            huqiang.UIComposite.DockPanelLine.CursorY = (UnityEngine.Texture2D)v;
        }

        static StackObject* AssignFromStack_CursorY_1(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            UnityEngine.Texture2D @CursorY = (UnityEngine.Texture2D)typeof(UnityEngine.Texture2D).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            huqiang.UIComposite.DockPanelLine.CursorY = @CursorY;
            return ptr_of_this_method;
        }

        static object get_layout_2(ref object o)
        {
            return ((huqiang.UIComposite.DockPanelLine)o).layout;
        }

        static StackObject* CopyToStack_layout_2(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.UIComposite.DockPanelLine)o).layout;
            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_layout_2(ref object o, object v)
        {
            ((huqiang.UIComposite.DockPanelLine)o).layout = (huqiang.UIComposite.DockPanel)v;
        }

        static StackObject* AssignFromStack_layout_2(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            huqiang.UIComposite.DockPanel @layout = (huqiang.UIComposite.DockPanel)typeof(huqiang.UIComposite.DockPanel).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.UIComposite.DockPanelLine)o).layout = @layout;
            return ptr_of_this_method;
        }

        static object get_Enity_3(ref object o)
        {
            return ((huqiang.UIComposite.DockPanelLine)o).Enity;
        }

        static StackObject* CopyToStack_Enity_3(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.UIComposite.DockPanelLine)o).Enity;
            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_Enity_3(ref object o, object v)
        {
            ((huqiang.UIComposite.DockPanelLine)o).Enity = (huqiang.Core.HGUI.UIElement)v;
        }

        static StackObject* AssignFromStack_Enity_3(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            huqiang.Core.HGUI.UIElement @Enity = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.UIComposite.DockPanelLine)o).Enity = @Enity;
            return ptr_of_this_method;
        }

        static object get_Left_4(ref object o)
        {
            return ((huqiang.UIComposite.DockPanelLine)o).Left;
        }

        static StackObject* CopyToStack_Left_4(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.UIComposite.DockPanelLine)o).Left;
            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_Left_4(ref object o, object v)
        {
            ((huqiang.UIComposite.DockPanelLine)o).Left = (System.Collections.Generic.List<huqiang.UIComposite.DockpanelArea>)v;
        }

        static StackObject* AssignFromStack_Left_4(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Collections.Generic.List<huqiang.UIComposite.DockpanelArea> @Left = (System.Collections.Generic.List<huqiang.UIComposite.DockpanelArea>)typeof(System.Collections.Generic.List<huqiang.UIComposite.DockpanelArea>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.UIComposite.DockPanelLine)o).Left = @Left;
            return ptr_of_this_method;
        }

        static object get_Right_5(ref object o)
        {
            return ((huqiang.UIComposite.DockPanelLine)o).Right;
        }

        static StackObject* CopyToStack_Right_5(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.UIComposite.DockPanelLine)o).Right;
            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_Right_5(ref object o, object v)
        {
            ((huqiang.UIComposite.DockPanelLine)o).Right = (System.Collections.Generic.List<huqiang.UIComposite.DockpanelArea>)v;
        }

        static StackObject* AssignFromStack_Right_5(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Collections.Generic.List<huqiang.UIComposite.DockpanelArea> @Right = (System.Collections.Generic.List<huqiang.UIComposite.DockpanelArea>)typeof(System.Collections.Generic.List<huqiang.UIComposite.DockpanelArea>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.UIComposite.DockPanelLine)o).Right = @Right;
            return ptr_of_this_method;
        }

        static object get_Top_6(ref object o)
        {
            return ((huqiang.UIComposite.DockPanelLine)o).Top;
        }

        static StackObject* CopyToStack_Top_6(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.UIComposite.DockPanelLine)o).Top;
            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_Top_6(ref object o, object v)
        {
            ((huqiang.UIComposite.DockPanelLine)o).Top = (System.Collections.Generic.List<huqiang.UIComposite.DockpanelArea>)v;
        }

        static StackObject* AssignFromStack_Top_6(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Collections.Generic.List<huqiang.UIComposite.DockpanelArea> @Top = (System.Collections.Generic.List<huqiang.UIComposite.DockpanelArea>)typeof(System.Collections.Generic.List<huqiang.UIComposite.DockpanelArea>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.UIComposite.DockPanelLine)o).Top = @Top;
            return ptr_of_this_method;
        }

        static object get_Down_7(ref object o)
        {
            return ((huqiang.UIComposite.DockPanelLine)o).Down;
        }

        static StackObject* CopyToStack_Down_7(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.UIComposite.DockPanelLine)o).Down;
            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_Down_7(ref object o, object v)
        {
            ((huqiang.UIComposite.DockPanelLine)o).Down = (System.Collections.Generic.List<huqiang.UIComposite.DockpanelArea>)v;
        }

        static StackObject* AssignFromStack_Down_7(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Collections.Generic.List<huqiang.UIComposite.DockpanelArea> @Down = (System.Collections.Generic.List<huqiang.UIComposite.DockpanelArea>)typeof(System.Collections.Generic.List<huqiang.UIComposite.DockpanelArea>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.UIComposite.DockPanelLine)o).Down = @Down;
            return ptr_of_this_method;
        }



        static StackObject* Ctor_0(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 4);
            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Boolean @real = ptr_of_this_method->Value == 1;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.UIComposite.Direction @dir = (huqiang.UIComposite.Direction)typeof(huqiang.UIComposite.Direction).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)20);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
            huqiang.Core.HGUI.UIElement @mod = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
            huqiang.UIComposite.DockPanel @lay = (huqiang.UIComposite.DockPanel)typeof(huqiang.UIComposite.DockPanel).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);


            var result_of_this_method = new huqiang.UIComposite.DockPanelLine(@lay, @mod, @dir, @real);

            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }


    }
}
